package com.zp.self.module.简单的login;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * @author By ZengPeng
 * @Description
 * @date in  2021/5/20 21:02
 * @Modified By
 */
@RestController
@RequestMapping("userManagement/api/")
public class APIController {

    @GetMapping("/getPerson")
    public Person getPerson(){
        return new Person().setAge(1).setBirthday(new Date()).setName("张三");
    }
}
